.container {
    width: 200px;
    height: 100px;
    background: pink;
    display: flex;
}

.box1 {
    width: 50px;
    height: 100px;
    background: red;
}

.box2 {
    height: 100px;
    flex: 1;
    background: #7e5151;
}